View Issue Details

IDProjectCategoryView StatusLast Update
0001438K18X001.00 SKB SWANSWpublic2022-03-21 15:47
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date2022-03-11 11:56
PrioritynormalSeveritys3-moderateReproducibilityalways
Status closedResolutionfixed 
Summary0001438: BT ScanMode is changed when the GTVS package app was updated under background.
DescriptionSWAN has front BT button and user press this button when the user want to connect other BT source devices.

And current BT ScanMode will be changed as following sequence.

At first booting : SCAN_MODE_CONNECTABLE
Run the Android TV Remote Service app : SCAN_MODE_CONNECTABLE_DISCOVERABLE
Run the FXN A2dpDeviceService app : SCAN_MODE_CONNECTABLE

Sometimes the GTVS packages will be updated under background.
And, when the Android TV Remote Service app is updated then this app will restart after update.
So, the BT ScanMode is changed to SCAN_MODE_CONNECTABLE_DISCOVERABLE even the user don't press the front BT button.

It will make confuse to user.

Please detect the changing of BT ScanMode.
If there is any change which not intended from FXN service then change the BT ScanMode as previous mode.(But, I guess you can change to SCAN_MODE_CONNECTABLE always.)
Steps To Reproduce1. Upgrade to FW version 19.532.16 BMT version.
2. Do the factory reset
3. Turn on the STB and wait for boot complete and check the BT ScanMode is SCAN_MODE_CONNECTABLE.
4. Update the GTVS package by manual or under background.
5. You can check the BT ScanMode is changed to SCAN_MODE_CONNECTABLE_DISCOVERABLE.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Jim Chen

Activities

(ALTech) Sangmin Choi

2022-03-07 11:14

developer   ~0009552

SKB Jira : https://jira.skbroadband.com/browse/BTVSBOX-603

(SW) Jacky Chiang

2022-03-07 11:56

manager   ~0009555

Hi Sangmin,

    Thank you for your analysis and it's very clear. I will have Jim to think what's best solution and fix this issue.

Thanks,
Jacky

(ALTech) Sangmin Choi

2022-03-14 09:10

developer   ~0009598

Hi,

Could you please update current status?

Thank you.

(SW) Jim Chen

2022-03-14 16:01

developer   ~0009602

Hi Mr. Sangmin,

scan mode 21= connectible
scan mode 23= connectible and discoverible

In case some other apps may want to change the scan mode (to 23)
I'll set a 1-minute timer.
When the mode change (to 23) is not from A2dpDeviceService.apk
then change it back to 21 after timeout.

(ALTech) Sangmin Choi

2022-03-14 16:27

developer   ~0009603

Hi, Jim,

Okay, your scenario looks good.
Please implement as you described.

Thank you.

(SW) Jim Chen

2022-03-15 18:00

developer   ~0009622

Hi Mr. sangmin,

attached the modified apk,
regression test was ok, I commit it to BFX-UA300_5.3.2 so you can check it with nightly build tomorrow.
https://docs.google.com/spreadsheets/d/11Mtvn3gx_GB3_Sbj_Ep-Q9A4dxwta845ebVT9HXBxUM/edit?usp=sharing

(ALTech) Sangmin Choi

2022-03-21 15:47

developer   ~0009655

Hi, Jim,

There is no issue during test.

It takes time because I tried to wait the background GTVS packages upgrade and it works as we expected.

Thank you.

Issue History

Date Modified Username Field Change
2022-03-07 11:12 (ALTech) Sangmin Choi New Issue
2022-03-07 11:12 (ALTech) Sangmin Choi Status new => assigned
2022-03-07 11:12 (ALTech) Sangmin Choi Assigned To => (SW) Jacky Chiang
2022-03-07 11:14 (ALTech) Sangmin Choi Note Added: 0009552
2022-03-07 11:15 (ALTech) Sangmin Choi Issue Monitored: (SW) Jim Chen
2022-03-07 11:53 (SW) Jacky Chiang Assigned To (SW) Jacky Chiang => (SW) Jim Chen
2022-03-07 11:53 (SW) Jacky Chiang Severity s2-severe => s3-moderate
2022-03-07 11:56 (SW) Jacky Chiang Note Added: 0009555
2022-03-14 09:10 (ALTech) Sangmin Choi Note Added: 0009598
2022-03-14 16:01 (SW) Jim Chen Note Added: 0009602
2022-03-14 16:27 (ALTech) Sangmin Choi Note Added: 0009603
2022-03-15 18:00 (SW) Jim Chen File Added: A2dpDeviceService_127.apk
2022-03-15 18:00 (SW) Jim Chen Note Added: 0009622
2022-03-21 15:44 (SW) Jim Chen Assigned To (SW) Jim Chen => (ALTech) Sangmin Choi
2022-03-21 15:44 (SW) Jim Chen Status assigned => resolved
2022-03-21 15:44 (SW) Jim Chen Resolution open => fixed
2022-03-21 15:47 (ALTech) Sangmin Choi Note Added: 0009655
2022-03-21 15:47 (ALTech) Sangmin Choi Status resolved => closed